projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfc57ce
)
(Fencode_time): Add cast.
author
Richard M. Stallman
<rms@gnu.org>
Mon, 30 Oct 1995 19:47:29 +0000
(19:47 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 30 Oct 1995 19:47:29 +0000
(19:47 +0000)
(Fset_time_zone_rule): Add cast.
src/editfns.c
patch
|
blob
|
history
diff --git
a/src/editfns.c
b/src/editfns.c
index 5254a76856946ef7fe2f90b405f030115f6baf05..1c3b2c3b39324e3c668a6d07e6db67dd0d81fa0d 100644
(file)
--- a/
src/editfns.c
+++ b/
src/editfns.c
@@
-737,7
+737,7
@@
If you want them to stand for years in this century, you must do that yourself."
char **oldenv = environ, **newenv;
if (STRINGP (zone))
- tzstring = XSTRING (zone)->data;
+ tzstring =
(char *)
XSTRING (zone)->data;
else if (INTEGERP (zone))
{
int abszone = abs (XINT (zone));
@@
-893,7
+893,7
@@
If TZ is nil, use implementation-defined default time zone information.")
else
{
CHECK_STRING (tz, 0);
- tzstring = XSTRING (tz)->data;
+ tzstring =
(char *)
XSTRING (tz)->data;
}
set_time_zone_rule (tzstring);